package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.mall.model.YxFunctionConfigKefu;
import com.ytjj.qmyx.mall.model.YxFunctionConfigNewuser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface YxFunctionConfigNewuserDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(YxFunctionConfigNewuser record);

    int insertSelective(YxFunctionConfigNewuser record);

    YxFunctionConfigNewuser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(YxFunctionConfigNewuser record);

    int updateByPrimaryKey(YxFunctionConfigNewuser record);

    YxFunctionConfigNewuser selectByEventId(Integer eventId);

    List<Map> getFunctionConfigKefu();

    int updateByConfigKefu(YxFunctionConfigKefu record);
}